<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>{$head[title]}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="{$head[keywords]}" name="keywords" />
<meta content="{$head[description]}" name="description" />
<base href="{SITE_URL}" />
<link href="favicon.ico" rel="shortcut icon" />
<link href="skin/style.css" rel="stylesheet" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="{$head[title]}" href="/rss.php?rssid={$catid}" />
<script language="JavaScript" src="misc/config.js"></script>
<script language="JavaScript" src="misc/jquery.min.js"></script>
<script language="JavaScript" src="misc/common.js"></script>
<script language="JavaScript" src="misc/validator.js"></script>
</head>
<body>

{template 'header.html'}

<div class="container">
    <div class="aside">
        {template "left.html",'yellowpage'}
    </div>
    
    <div class="main">
    	
        
        <div class="head">详细信息</div>
        <table cellpadding="0" cellspacing="1" class="table"> 
            {if $info[id]}
            <tr> 
              <th width="20%"><strong>询价对象：</strong>
              </th>
              <td>{$title} </td>
            </tr>
            <tr> 
              <th width="20%"><strong>询价页面：</strong>
              </th>
              <td><a href="{$info[forwardpage]}">{$info[forwardpage]}</a> </td>
            </tr>
            {/if}
            <tr> 
              <th width="20%"><strong>姓名：</strong>
              </th>
              <td>{$info[username]} </td>
            </tr>
            <tr> 
              <th width="20%"><strong>所在单位：</strong>
              </th>
              <td>{$info[unit]} </td>
            </tr>
            {if $info[fax]}
            <tr> 
              <th width="20%"><strong>公司传真：</strong>
              </th>
              <td>{$info[fax]} </td>
            </tr>
            {/if}
            <tr> 
              <th width="20%"><strong>联系电话：</strong>
              </th>
              <td>{$info[telephone]} </td>
            </tr>
            {if $info[qq]}
            <tr> 
              <th width="20%"><strong>QQ：</strong>
              </th>
              <td>{$info[qq]} </td>
            </tr>
            {/if}
            {if $info[msn]}
            <tr> 
              <th width="20%"><strong>MSN：</strong>
              </th>
              <td>{$info[msn]} </td>
            </tr>
            {/if}
            <tr> 
              <th width="20%"><strong>Email：</strong>
              </th>
              <td>{$info[email]} </td>
            </tr>
            <tr> 
              <th width="20%"><strong>留言内容：</strong>
              </th>
              <td>{$info[content]} </td>
            </tr>
        <form action="{URL}" method="post" name="myform"  enctype="multipart/form-data" >
            <tr> 
              <th width="20%"><strong>标记该留言：</strong>
              </th>
              <td>
        <span><input type="radio" name="style" value="c14" > </span>
        <span><input type="radio" name="style" value="c12" > </span>
        <span><input type="radio" name="style" value="c13" > </span>
        <span><input type="radio" name="style" value="c3" > </span>
        <span><input type="radio" name="style" value="c6" > </span>
        <span><input type="radio" name="style" value="c8" > </span>
              </td>
            </tr>
        <tr> 
              <td></td>
              <td> 
              <input type="hidden" name="forward" value="{$forward}"> 
              <input type="hidden" name="id" value="{$info[gid]}"> 
              <input type="submit" name="dosubmit" value=" 确定 "> 
              </td>
            </tr>
        </form>
        </table>
       
    </div>
    
</div>

 
<script>
var showMsgCnt = function(obj,bool)
{
	var c= obj;
	obj = 'cnt'+obj;
	
	var t = $("#"+obj);
	if(!bool)$.get('{BUSINESSDIR}?file={$file}&action=answer&id='+c);
	if(t.css("display") != "none")t.hide();
	else t.show();
}

var checkall = function(obj)
{
	$("input[name='gid[]']").attr('checked',obj.checked);
}

var buttondo = function(bool)
{
	var par;
	if(bool)
	{
		par = 'batmethod=delete';
	}
	else
	{
		par = 'batmethod=bookmark';
	}
	$("input[name='gid[]']").each(function(){ if(this.checked)par += '&gid[]='+this.value});
	$.get('{BUSINESSDIR}?file={$file}&action=batdo&'+par+'&jsrand='+Math.random(),function(data){ if(data=='ok')window.location.reload();});
}
</script>
{template 'footer.html'}